package org.wzh.spring.di.demo3;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 设置组件扫描的基础包
 * @ComponentScan("org.wzh.spring.di.demo3")
 * @ComponentScan(basePackages="org.wzh.spring.di.demo3")
 * @ComponentScan(basePackages={"org.wzh.spring.di.demo3", "org.wzh.spring.di.demo2"}) //字符串,类型不安全
 * @ComponentScan(basePackageClasses={CDPlayer.class, DVDPlayer.class})	//类型安全的.这些类所在的包将会作为组件扫描的基础包.
 * @author Pear
 *
 */
@Configuration
@ComponentScan("org.wzh.spring.di.demo3")
public class CDPlayConfig {

}
